import request from '/@/utils/request';



//获取留言列表
export function messageList(params: object) {
    return request({
        url: 'api/center/message',
        method: 'get',
        params: params,
    });
}

//已读 删除
export function messageEdit(params: object) {
    return request({
        url: '/api/center/message',
        method: 'PUT',
        data: params,
    });
}

export function allGet(params: object) {
    return request({
        url: 'api/center/message/mark/all',
        method: 'get',
        params: params,
    });
}




